package com.softeem.train.action;

import cn.zhj.tools.JsonUtils;

import com.opensymphony.xwork2.ActionSupport;


public class LoginAction extends ActionSupport{

	private String username;
	private String password;

	
	@Override
	public String execute() throws Exception {
		//System.out.println(username);
//		this.username="我执行了execute方法";
		System.out.println("我执行了execute方法");
		String str="{\"name\":\"vetech\",\"age\":\"18\"}";
		JsonUtils.jsonStr2Map(str);
		return SUCCESS;
	}
	public String Login() throws Exception{
		System.out.println("我登陆进来了");
		return "login";
	}
	
	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
}
